package com.zheng.cloud.Proxy;

import java.util.Random;

/**
 * 真实主题
 */
public class Car implements Movable {
    public void move() {

        try {
            Thread.sleep(new Random().nextInt(1000));
            System.out.println("小汽车正在移动 ……");
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
